#include<iostream>
using namespace std;
class Data
{
public:
	Data(int year = 1, int month = 1, int day = 1)
	{
		_year=year;
		_month = month;
		_day = day;
	}
	~Data()
	{
		cout << "~Data()"<<_year << endl;
	}
	void print()
	{
		cout << _year << "/" << _month<<"/"<<_day<<endl;
	}
private:
	int _year;
	int _month;
	int _day;
};

int main()
{
	Data d1(2025,7,31);
	Data d2;
	d1.print();
	d2.print();


}